home *** CD-ROM | disk | FTP | other *** search
/ Software USA 4 #10 / Software USA Volume 4.10.iso / mac / Educational / HTML Vocabulary / HTML Vocabulary 2.0 / HTML Vocabulary 2.0.rsrc / TEXT_1900_Tables.txt < prev    next >
Text File  |  1996-09-28  |  3KB  |  58 lines

  1.  
  2. Tables    
  3. <TABLE [...]>...</TABLE>
  4. Inserts a table. The following parameters can be used:
  5.  
  6. [ALIGN="left|right"]
  7. Align the table.
  8.  
  9. [BORDER="n "]
  10. Gives the table a 3D-look. BORDER is the width of the border in dots.
  11.  
  12. [CELLSPACING="n "]
  13. Sets the space between cells in dots.
  14.  
  15. [CELLPADDING="n "]
  16. Sets the space between the content of the cells and the borders.
  17.  
  18. [WIDTH="n |n %"]
  19. Sets the width of the table in pixels or in percent of the page.
  20.  
  21. [HEIGHT="n |n %"]
  22. Sets the height of the table in pixels or in percent of the page.
  23.  
  24. [BACKGROUND="url "]
  25. Defines a background of the table. IE NS4
  26.  
  27. [BGCOLOR="color "]
  28. Defines the background color of the table. IE NS3
  29.  
  30. [BORDERCOLOR="color "]
  31. Defines the border color of the table. IE NS4
  32.  
  33. [BORDERCOLORLIGHT="color "]
  34. Defines the light shadow color of the table. IE
  35.  
  36. [BORDERCOLORDARK="color "]
  37. Defines the dark shadow color of the table. IE
  38.  
  39. [FRAMES="void|above|below|hsides|vsides|lhs|rhs|box"]
  40. This is an Internet Explorer-property which defines which sidees of the table border that will be displayed. IE
  41.  
  42. [RULES="none|rows|cols|groups"]
  43. This is an Internet Explorer tag that can be used to just show horizontal or vertical rules in the table. NONE will just show the table frame. GROUPS will display lines between the THEAD, TBODY and TFOOT tags. IE
  44.  
  45. Table Tags    
  46. <CAPTION [ALIGN="top|bottom"]>text </CAPTION>
  47. "text" will be the tables header. Use this tag inside the <TABLE> tag, but not within lines. You can show the header over or under the TABLE by setting ALIGN to TOP resp. BOTTOM.
  48.  
  49. <TR [ALIGN="left|center|right"] [VALIGN="top|middle|bottom|baseline"] [BACKGROUND="url¬†"] [BGCOLOR="color¬†"] [HEIGHT="n¬†|n¬†%"] [BORDERCOLOR="color¬†"] BORDERCOLORLIGHT="color¬†"] [BORDERCOLORDARK="color¬†"]>...</TR>
  50. Start a new line in the table. ALIGN sets the horizontal adjusments for the lines text and VALIGN the vertical adjustment. BGCOLOR is a background color. HEIGHT is the minimum height of the row in pixels or percent. HEIGHT is not defined in a HTML standard, but works in Netscape 2.x. Do not need to end with </TR> according to HTML 3.2, but see below about nested tables. (IE NS3 NS4)
  51.  
  52. <TD|TH [ALIGN="left|center|right"] [VALIGN="top|middle|bottom|baseline"] [NOWRAP] [COLSPAN="n¬†"] [ROWSPAN="n¬†"] [WIDTH="n¬†|n¬†%"] [HEIGHT="n¬†|n¬†%"] [BACKGROUND="url¬†"] [BGCOLOR="color¬†"] [BORDERCOLOR="color¬†"] BORDERCOLORLIGHT="color¬†"] [BORDERCOLORDARK="color¬†"]>...</TD|TH>
  53. TD and TH insert a new cell. TH stands for 'table header' and displays the contents of the cell in bold. ALIGN sets the adjustments of the text. NOWRAP prevents the browser from wrapping the cell contents. COLSPAN can be used to let the cell go over more than one column. Default is 1. ROWSPAN is the same thing, but let the cell go over more than one line. Default setting is 1. WIDTH sets the width of the cell. BGCOLOR is a background color. HEIGHT is the minimum height of the cell in pixels or percent. (IE NS3 NS4)
  54.  
  55. <THEAD>, <TBODY>, <TFOOT>, <COLGROUP>, <COL>
  56. These are Explorer extensions, mostly for use with the FRAME parameter to the TABLE tag. Not supported in other browsers and therefore not detailed explained here. IE
  57.  
  58. The ending </TR>, </TD> end </TH> are not required in HTML 3.2 since any following tag defining a row, cell or table closes the previous cell definition, but because of a bug in Netscape Navigator it is recommended to use them.